Pet Store Web Service
Put
updatePet
Collapse All
Expand All
Pet Store Web Service
>
Everything about your Pets Resource Group
: updatePet (Put)
Resource Path:
/pet
Description
Update an existing pet
Request
The request body is of type
Pet
.
Pet object that needs to be added to the store
Overview
Pet
Represents a single Pet in the Store.
id :
integer
Unique identifier for this pet.
category :
Category
Pet category.
id :
integer
Unique identifier for this category.
name :
string
Category Name.
name :
string
Pet Name.
photoUrls :
Array[string]
Photo Urls.
tags :
Array[
Tag
]
Tags currently applied to this Pet.
id :
integer
Unique identifier for this tag.
name :
string
Tag Name.
status :
string
Pet Status.
Fault Responses
Fault
Description
400
Invalid ID supplied
404
Pet not found
405
Validation exception
See Also
Everything about your Pets Resource Group
|
Pet Store Web Service